package pl.edu.agh.uddiProxy.types;

public class ParameterType {
	private String name;
	private String type;
	private String unit;
	private String minValue;
	private String maxValue;
	private String permission;
	private double weight;
	private boolean smallerIsBetter;
	
	private AverageCounter counter;
	private PatrameterCollector collector;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getMinValue() {
		return minValue;
	}

	public void setMinValue(String minValue) {
		this.minValue = minValue;
	}

	public String getMaxValue() {
		return maxValue;
	}

	public void setMaxValue(String maxValue) {
		this.maxValue = maxValue;
	}

	public String getPermission() {
		return permission;
	}

	public void setPermission(String permission) {
		this.permission = permission;
	}

	public AverageCounter getCounter() {
		return counter;
	}

	public void setCounter(AverageCounter counter) {
		this.counter = counter;
	}

	public double getWeight() {
		return weight;
	}

	public void setWeight(double weight) {
		this.weight = weight;
	}

	public boolean isSmallerIsBetter() {
		return smallerIsBetter;
	}

	public void setSmallerIsBetter(boolean smallerIsBetter) {
		this.smallerIsBetter = smallerIsBetter;
	}

	public PatrameterCollector getCollector() {
		return collector;
	}

	public void setCollector(PatrameterCollector collector) {
		this.collector = collector;
	}

	@Override
	public String toString() {
		return name + " " + minValue + " " + maxValue;
	}
}
